package com.zy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.entity.User;

public interface UserService extends IService<User> {
    User login(String username, String password);

    //这个方法是用来分配权限的，在这里补全
    void saveUserRole(Integer uid, Integer[] ids);

    User findIdByName(String name);
}
